package cn.caojun.auth.service;

import cn.caojun.auth.domain.Permission;
import cn.caojun.auth.domain.Role;
import cn.caojun.auth.query.PermissionQuery;
import cn.caojun.basic.service.IBaseService;
import cn.caojun.basic.service.impl.BaseServiceImpl;
import cn.caojun.basic.utils.PageList;

import java.util.List;


public interface IPermissionService extends IBaseService<Permission> {

    PageList<Permission> getLimteList(PermissionQuery permissionQuery);

    List<Permission> getPermissionTree();
}
